package cqrtplm.entity;

import com.ty.basic.entity.CTyEntityBaseDO;
import com.ty.basic.util.TyOtype;
import cqrtplm.constant.RTTableTypeConstant;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigInteger;

@Data
@Entity
@Table(name = "rt_doc_annotation_LINK")
@TyOtype(
        displayName = RTTableTypeConstant.TYPE_ANNOTATION_LINK
)
public class OnlineAnnotationLinkDO extends CTyEntityBaseDO {
    @Id
    private BigInteger oid;

    @TyOtype(
            name = RTTableTypeConstant.TYPE_ANNOTATION_LINK
    )
    private String otype = RTTableTypeConstant.TYPE_ANNOTATION_LINK;

    /**
     * 在线批注OID
     */
    private String aoid;

    /**
     * 附件OID
     */
    private BigInteger boid;

    private String remark;

    private String base64Image;

}
